package com.ssish.saas.eccs.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ssish.saas.eccs.model.Claims;
import com.ssish.saas.eccs.schedule.ZhlhJob;
import com.ssish.saas.eccs.service.OssService;
@RestController
@RequestMapping("/visitor")
public class TestController {

    @Autowired
    private OssService ossService;
    
    @Autowired
    private ZhlhJob zhlhJob;
    @GetMapping("/test")
    public void test(){
//        zhlhJob.run();
//        zhlhJob.test();
        ossService.listBuckets();
    }
}
